package structural.mediator;

/**
 * 具体同事类
 *
 * @author wangjinqiang
 * @date 2019-08-06
 */
public class ConcreteColleague2 extends Colleague {
    public ConcreteColleague2(Mediator mediator) {
        super(mediator);
    }

    /**
     * 自有方法
     */
    public void selfMethod2() {

    }

    /**
     * 依赖方法
     */
    public void depMethod2() {
        super.mediator.doSomething2();
    }
}
